<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2023/3/6
  Time: 15:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传案例</title>
</head>
<body>
    <div class="all">
        <form method="post" action="/upload" enctype="multipart/form-data">
            用户名: <input name="username" type="text"/><br/>
            密码: <input name="password" type="password"/><br/>
            头像:<input type="file" name="file"/><br/>
            <button type="submit">提交</button>
        </form>
    </div>
</body>
</html>
